package com.lcx.movie.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.stereotype.Component;

/** 
 * @Description  
 * @version 1.0 
 * @author lcx
 * @date 2025/2/9 11:25
 */
@TableName(value = "snacks")
@Component
@Data
public class Snacks {
    @TableId(value = "SnackID", type = IdType.AUTO)
    private Integer snackId;

    @TableField(value = "SnackName")
    private String snackName;

    @TableField(value = "Description")
    private String description;

    @TableField(value = "Price")
    private Integer price;

    @TableField(value = "StockQuantity")
    private Integer stockQuantity;

    @TableField(value = "SnackType")
    private String snackType;


}